package top.ibiji.shiro.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.ibiji.shiro.dao.SysUserMapper;
import top.ibiji.shiro.model.SysUser;
import top.ibiji.shiro.service.SysUserService;

@Service
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    SysUserMapper sysUserMapper;

    @Override
    public SysUser findByName(String username) {

        return sysUserMapper.findByName(username);
    }
}
